package com.qf.myrbac.sys.controller;

import com.qf.myrbac.sys.entity.SysUser;
import org.apache.shiro.SecurityUtils;

public abstract class AbstractController {
    protected SysUser getUser() {
        return (SysUser) SecurityUtils.getSubject().getPrincipal();
    }
}
